package java44th.group.bean.wx.vo.comment;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @ProjectName project-second
 * @Descriptiom TODO
 * @Aurhor: 蔡文强
 * @Since: 2022/10/15 19:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PostVo {
    /**
     * hasPicture : false
     * valueId : 405
     * star : 3
     * addTime : 2022-10-15 19:27:42
     * updateTime : 2022-10-15 19:27:42
     * id : 1159
     * type : 1
     * picUrls : []
     * userId : 1
     * content : 111
     */
    private boolean hasPicture;
    private int valueId;
    private int star;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updateTime;
    private int id;
    private int type;
    private String[] picUrls;
    private int userId;
    private String content;

}
